namespace HPIT.Shop.Services.Entities
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("Receiving")]
    public partial class Receiving
    {
        public int Id { get; set; }

        public int IsDefault { get; set; }

        [Required]
        [StringLength(16)]
        public string consignee { get; set; }

        [Required]
        [StringLength(11)]
        public string MobileNumber { get; set; }

        [Required]
        [StringLength(256)]
        public string Address { get; set; }

        public int? AddressId { get; set; }

        public virtual TBUser TBUser { get; set; }
    }
}
